third-party-exp-api icon

third-party-exp-api

(0 reviews)

Capital Invest - Submit Payment

Description: This API is used to submit payment from CBOJ to CI.

Mulesoft Request:

Headers:

Mandatory Headers: x-correlation-id, client_id, Authorization

Optional Headers: x-sub-channel-id, x-user-id, x-debug-flag, x-customer-id, client_secret, x-channel-id, x-bank-id

Paramaters:

URI Params: NA

Query Params: NA

Body:

{
  "customerId": "2000239",
  "capitalInvestId": "26",
  "accountNumber": "4501188",
  "region": "Regional",
  "parent": "274",
  "debitAmount": "78.540",
  "debitCurrency": "JOD",
  "creditCurrency": "JOD",
  "ciAccountCurrency": "JOD"
}

Content-type: application/json, text/json

Mulesoft Response:

Success Response: (200)

{
  "status": {
    "success": true,
    "code": "200",
    "arabicMessage": "تمت العملية بنجاح",
    "englishMessage": "The Operation has been Successfully Completed"
  },
  "response": {
    "ftRef": "FT21033ACBKZ1KDD"
  }
}

Error Response: (400, 403, 404, 405, 406, 415, 500, 501)

{
    "status": {
        "success": false,
        "code": "400",
        "reasonCode": "BadRequest",
        "arabicMessage": "Account Not Linked",
        "englishMessage": "Account Not Linked",
        "backendError": "Account Not Linked",
        "backendCode": "12"
    }
}

Reviews